<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<a href="get.php?name=456">点击我跳转</a>
		<form action="./get.php" method="get">
			<input type="text" name="username" />
			<input type="submit" value="点击"/>
		</form>
		<button>点击我跳转</button>
		<script type="text/javascript">
				var btn = document.querySelector("button");
				btn.onclick = function(){
					window.location.href = "./get.php?name=789";
				}
			
			
			
			
		</script>
	</body>
</html>
